package com.springboot.demo.config.demo1;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Create By Alvin on 2018/9/6
 * 对@Configuration注解进行理解
 **/
@Configuration
public class configdemo2 {
    @Bean
    public Student getStudent()
    {
        return new Student();
    }
}
